function getcolumns(detail, edit, remove) {
  return [
    {
      key: '1',
      tab: '未完成',
      columns: [
        {
          title: '基础信息',
          valueType: 'split',
          key: '基础信息',
        },
        {
          title: '用户名123',
          dataIndex: 'accountName',
          formItemProps: {
            rules: [
              {
                required: false,
                message: '此项为必填项',
              },
            ],
          },
          hideInForm: false,
          key: 'accountName',
          valueType: 'select',
          mode: 'tags',
          options: [
            {
              label: '123',
              value: '123',
            },
          ],
        },
        {
          title: '姓名',
          dataIndex: 'userName',
          key: 'userId',
          hideInForm: {
            accountName: {
              reverse: ['1', '2', '5'],
            },
            remark: ['3'],
          },
          search: false,
        },
        {
          title: '额外信息',
          valueType: 'split',
          key: '额外信息',
        },
        {
          title: '联系电话',
          dataIndex: 'telephone',
          formItemProps: {
            rules: [
              {
                required: false,
                message: '此项为必填项',
              },
            ],
          },
          search: false,
          key: 'telephone',
        },
        {
          title: '邮箱',
          dataIndex: 'mailNo',
          formItemProps: {
            rules: [
              {
                required: false,
                message: '此项为必填项',
              },
            ],
          },
          search: false,
          key: 'mailNo',
        },
        {
          title: '备注',
          dataIndex: 'remark',
          valueType: 'editor',
          search: false,
          colProps: {
            span: 24,
          },
          initialValue: '<p>Hello <b>World!</b></p>',
          key: 'remark',
        },
        {
          title: '上传样式-图片',
          dataIndex: 'uploadImage',
          key: 'uploadImage',
          valueType: 'uploadImage',
          fieldProps: {
            limit: 2,
          },
          formItemProps: {
            rules: [
              {
                required: false,
                message: '此项为必填项',
              },
            ],
          },
        },
        {
          title: '操作',
          valueType: 'option',
          width: 150,
          render: (text, row, _, action) => [
            detail(text, row, _, action),
            edit(text, row, _, action),
            remove(text, row, _, action),
          ],
        },
      ],
      pathconfig: {
        enableadd: true,
        enableedit: true,
        enabledelete: true,
        enabledetail: true,
        add: '',
        edit: '',
        list: '/ngic-auth/sysUser/query/page',
        delete: '',
        detail: '',
      },
    },
    {
      key: '2',
      tab: '已完成',
      columns: [
        {
          title: '基础信息',
          valueType: 'split',
          key: '基础信息',
        },
        {
          title: '用户名',
          dataIndex: 'accountName',
          formItemProps: {
            rules: [
              {
                required: false,
                message: '此项为必填项',
              },
            ],
          },
          initialValue: '默认值',
          hideInForm: false,
          key: 'accountName',
          valueType: 'select',
          mode: 'tags',
          options: [
            {
              label: '456',
              value: '456',
            },
          ],
        },
        {
          title: '操作',
          valueType: 'option',
          width: 150,
          render: (text, row, _, action) => [
            detail(text, row, _, action),
            edit(text, row, _, action),
            remove(text, row, _, action),
          ],
        },
      ],
      pathconfig: {
        enableadd: true,
        enableedit: true,
        enabledelete: true,
        enabledetail: true,
        add: '',
        edit: '',
        list: '/ngic-auth/sysAccountApply/queryList',
        delete: '',
        detail: '',
      },
    },
  ];
}
export default getcolumns;
